/*
 * author: 可乐加糖 
 * email: black.angel.liu@gmail.com 
 * des: 首页脚本
 */

$(document).ready(function(){
	$(".left02 a").click(function(){
		var navText = $(this).text();
		var parentNode = $(this).parent().parent();
		if(parentNode.find(".left02down01_xia").length>0){
			$(".left02down01_xia ul").hide();
			$(this).parent().next().find("ul").show();
		}
		$(".right01 span").text(navText);
		$(".left02down01_xia li").removeClass("selnav");
		$(".left02down01").removeClass("selnav");
		$(this).parent().addClass("selnav");
	});
});
var temp = 0;
function show_menuC() {
	if (temp == 0) {
		document.getElementById('LeftBox').style.display = 'none';
		document.getElementById('RightBox').style.marginLeft = '0';
		document.getElementById('Mobile').style.background = 'url(manager/images/center.gif)';

		temp = 1;
	} else {
		document.getElementById('RightBox').style.marginLeft = '222px';
		document.getElementById('LeftBox').style.display = 'block';
		document.getElementById('Mobile').style.background = 'url(manager/images/center0.gif)';
		temp = 0;
	}
}